package com.ebeitech.auction.http.model;

import com.ebeitech.auction.domain.User;

import java.io.Serializable;
import java.util.List;

/**
 * Created by alice on 2017/10/26.
 */
public class LoginModel extends BaseModel<LoginModel.UserInfo> {

	private String code;
	private String msg;

	public String getResultCode() {
		setResultCode(code);
		return super.getResultCode();
	}

	public String getResultDesc() {
		setResultDesc(msg);
		return super.getResultDesc();
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public class UserInfo implements Serializable {
		private List<Object> archVO;
		private List<AuthVO> authVO;
		private List<RoleVO> roleVO;
		private User userVO;

		public List<Object> getArchVO() {
			return archVO;
		}

		public void setArchVO(List<Object> archVO) {
			this.archVO = archVO;
		}

		public List<AuthVO> getAuthVO() {
			return authVO;
		}

		public void setAuthVO(List<AuthVO> authVO) {
			this.authVO = authVO;
		}

		public List<RoleVO> getRoleVO() {
			return roleVO;
		}

		public void setRoleVO(List<RoleVO> roleVO) {
			this.roleVO = roleVO;
		}

		public User getUserVO() {
			return userVO;
		}

		public void setUserVO(User userVO) {
			this.userVO = userVO;
		}
	}

	public class AuthVO implements Serializable {
		private String authId;
		private String authName;
		private String authCode;

		public String getAuthId() {
			return authId;
		}

		public void setAuthId(String authId) {
			this.authId = authId;
		}

		public String getAuthName() {
			return authName;
		}

		public void setAuthName(String authName) {
			this.authName = authName;
		}

		public String getAuthCode() {
			return authCode;
		}

		public void setAuthCode(String authCode) {
			this.authCode = authCode;
		}
	}

	public class RoleVO implements Serializable {
		private String roleId;
		private String roleName;
		private String roleCode;

		public String getRoleId() {
			return roleId;
		}

		public void setRoleId(String roleId) {
			this.roleId = roleId;
		}

		public String getRoleName() {
			return roleName;
		}

		public void setRoleName(String roleName) {
			this.roleName = roleName;
		}

		public String getRoleCode() {
			return roleCode;
		}

		public void setRoleCode(String roleCode) {
			this.roleCode = roleCode;
		}
	}

}
